/**
 * cn - 允许单选
 *    -- 可以设置范围选择的时候只选择一侧.
 * en - allow single
 *    -- can set range select only select single
 */
import React from 'react'
import { DatePicker } from 'shineout'

const App: React.FC = () => (
  <DatePicker
    range
    allowSingle
    type="datetime"
    style={{ marginTop: '12px' }}
    onChange={d => console.log(d)}
    placeholder={['Start datetime', 'End datetime']}
  />
)

export default App
